<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="en" name="language">
	<title>montage</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link media="screen" href="../docutils-api.css" type="text/css" rel="stylesheet">

</head>

<body>

<div class="banner">
<img src="../images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" />
<span class="title">GraphicsMagick</span>
<form action="http://www.google.com/search">
  <input type="hidden" name="domains" value="www.graphicsmagick.org" />
  <input type="hidden" name="sitesearch" value="www.graphicsmagick.org" />
<span class="nowrap"><input type="text" name="q" size="25" maxlength="255" />&nbsp;<input type="submit" name="sa" value="Search" /></span>
</form>
</div>


<div class="navmenu">
<ul>
  <li><a href="../index.html">Home</a></li>
  <li><a href="../project.html">Project</a></li>
  <li><a href="../download.html">Download</a></li>
  <li><a href="../README.html">Install</a></li>
  <li><a href="../Hg.html">Source</a></li>
  <li><a href="../NEWS.html">News</a> </li>
  <li><a href="../utilities.html">Utilities</a></li>
  <li><a href="../programming.html">Programming</a></li>
  <li><a href="../reference.html">Reference</a></li>
</ul>
</div>

<main id="montage">
<h1 class="title">montage</h1>
<p class="subtitle" id="create-a-thumbnail-image-mosaic">Create a thumbnail image mosaic</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#clonemontageinfo" id="id7">CloneMontageInfo</a></p></li>
<li><p><a class="reference internal" href="#destroymontageinfo" id="id8">DestroyMontageInfo</a></p></li>
<li><p><a class="reference internal" href="#getmontageinfo" id="id9">GetMontageInfo</a></p></li>
<li><p><a class="reference internal" href="#montageimages" id="id10">MontageImages</a></p></li>
</ul>
</div>
<section id="clonemontageinfo">
<h1><a class="toc-backref" href="#id7">CloneMontageInfo</a></h1>
<section id="synopsis">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *CloneMontageInfo( const <a class="reference external" href="../api/types.html#imageinfo">ImageInfo</a> *image_info,
                               const <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info );</pre>
</section>
<section id="description">
<h2>Description</h2>
<p>CloneMontageInfo() makes a copy of the given montage info structure.  If
NULL is specified, a new image info structure is created initialized to
default values.</p>
<p>The format of the CloneMontageInfo method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *CloneMontageInfo( const <a class="reference external" href="../api/types.html#imageinfo">ImageInfo</a> *image_info,
                               const <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info );</pre>
<dl class="simple">
<dt>image_info:</dt>
<dd><p>The image info.</p>
</dd>
<dt>montage_info:</dt>
<dd><p>The montage info.</p>
</dd>
</dl>
</section>
</section>
<section id="destroymontageinfo">
<h1><a class="toc-backref" href="#id8">DestroyMontageInfo</a></h1>
<section id="id1">
<h2>Synopsis</h2>
<pre class="literal-block">void DestroyMontageInfo( <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info );</pre>
</section>
<section id="id2">
<h2>Description</h2>
<p>DestroyMontageInfo() deallocates memory associated with montage_info.</p>
<p>The format of the DestroyMontageInfo method is:</p>
<pre class="literal-block">void DestroyMontageInfo( <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>montage_info:</dt>
<dd><p>Specifies a pointer to an MontageInfo structure.</p>
</dd>
</dl>
</section>
</section>
<section id="getmontageinfo">
<h1><a class="toc-backref" href="#id9">GetMontageInfo</a></h1>
<section id="id3">
<h2>Synopsis</h2>
<pre class="literal-block">void GetMontageInfo( const <a class="reference external" href="../api/types.html#imageinfo">ImageInfo</a> *image_info, <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info );</pre>
</section>
<section id="id4">
<h2>Description</h2>
<p>GetMontageInfo() initializes montage_info to default values.</p>
<p>The format of the GetMontageInfo method is:</p>
<pre class="literal-block">void GetMontageInfo( const <a class="reference external" href="../api/types.html#imageinfo">ImageInfo</a> *image_info, <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info );</pre>
<dl class="simple">
<dt>image_info:</dt>
<dd><p>a structure of type ImageInfo.</p>
</dd>
<dt>montage_info:</dt>
<dd><p>Specifies a pointer to a MontageInfo structure.</p>
</dd>
</dl>
</section>
</section>
<section id="montageimages">
<h1><a class="toc-backref" href="#id10">MontageImages</a></h1>
<section id="id5">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#image">Image</a> *MontageImages( const <a class="reference external" href="../api/types.html#image">Image</a> *images, const <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info,
                      <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );</pre>
</section>
<section id="id6">
<h2>Description</h2>
<p>Montageimages() is a layout manager that lets you tile one or more
thumbnails across an image canvas.</p>
<p>The format of the MontageImages method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#image">Image</a> *MontageImages( const <a class="reference external" href="../api/types.html#image">Image</a> *images, const <a class="reference external" href="../api/types.html#montageinfo">MontageInfo</a> *montage_info,
                      <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );</pre>
<dl class="simple">
<dt>images:</dt>
<dd><p>Specifies a pointer to an array of Image structures.</p>
</dd>
<dt>montage_info:</dt>
<dd><p>Specifies a pointer to a MontageInfo structure.</p>
</dd>
<dt>exception:</dt>
<dd><p>Return any errors or warnings in this structure.</p>
</dd>
</dl>
</section>
</section>
</main>


<hr class="docutils">
<div class="document">
    <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002-2025<!--SPONSOR_LOGO--></p>
</div>

</main>
</body>
</html>
